package com.business.exam.mapper;

import java.util.List;
import com.business.exam.domain.ExamQbQuestions;

/**
 * 题库Mapper接口
 * 
 * @author zhanglele
 * @date 2023-12-04
 */
public interface ExamQbQuestionsMapper 
{
    /**
     * 查询题库
     * 
     * @param qbMainId 题库主键
     * @return 题库
     */
    public ExamQbQuestions selectExamQbQuestionsByQbMainId(Long qbMainId);

    /**
     * 查询题库列表
     * 
     * @param examQbQuestions 题库
     * @return 题库集合
     */
    public List<ExamQbQuestions> selectExamQbQuestionsList(ExamQbQuestions examQbQuestions);

    /**
     * 新增题库
     * 
     * @param examQbQuestions 题库
     * @return 结果
     */
    public int insertExamQbQuestions(ExamQbQuestions examQbQuestions);

    /**
     * 修改题库
     * 
     * @param examQbQuestions 题库
     * @return 结果
     */
    public int updateExamQbQuestions(ExamQbQuestions examQbQuestions);

    /**
     * 删除题库
     * 
     * @param qbMainId 题库主键
     * @return 结果
     */
    public int deleteExamQbQuestionsByQbMainId(Long qbMainId);

    /**
     * 批量删除题库
     * 
     * @param qbMainIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamQbQuestionsByQbMainIds(Long[] qbMainIds);
}
